<?php echo use_helper('jQuery') ?>

<?php slot('tree') ?>
    <?php include_partial('portal/gardener', array('portal' => $section->getPortal()))?>
<?php end_slot() ?>

<?php slot('content') ?>
    <?php include_partial('show'.$content->getType()->getType(), array('content' => $content))?>
<?php end_slot() ?>

<?php echo jq_javascript_tag(
        'clearTree();showLoaderTree();'
        .
        jq_update_element_function('tree_content', array('content' => get_slot('tree')))
        .
        'createTree();activateTreeMenu();'
        .
        jq_update_element_function('main',array('content' => get_slot('content')))
    )?>